﻿namespace EventBus.Abstractions
{
    public interface IEventBus
    {
        Task PublishAsync<TIntegrationEvent>(TIntegrationEvent integrationEvent)
            where TIntegrationEvent : IntegrationEvent;
    }

    public class EventBusCollection : IEventBus
    {
        public Task PublishAsync<TIntegrationEvent>(TIntegrationEvent integrationEvent) where TIntegrationEvent : IntegrationEvent
        {
            throw new NotImplementedException();
        }
    }
}
